﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;

namespace QL_LichCT.Entities
{
    class PHONG
    {
        private string _maphong;

        public string maphong
        {
            get { return _maphong; }
            set { _maphong = value; }
        }

        private string _tenphong;

        public string tenphong
        {
            get { return _tenphong; }
            set { _tenphong = value; }
        }

        public PHONG()
        {
        }

        public PHONG(DataRow row)
        {
            this._maphong = row["maphong"].ToString();
            this._tenphong = row["tenphong"].ToString();
        }

        public PHONG(string maphong, string tenphong)
        {
            this._maphong = maphong;
            this._tenphong = tenphong;
        }

    }
}
